#include "Material.h"

Material::Material(){
    color = Vector3<float>(0.0);
}

Material::~Material(){
}

void Material::setColor(float r, float g, float b){
    color[0] = r;
    color[1] = g;
    color[2] = b;

}

void Material::setReflection(float reflect){
    reflection = reflect;
}

void Material::setRefraction(float refract){
    refraction = refract;
}

void Material::setIor(float i){
    ior = i;
}

void Material::setLight(bool isLight){
    light = isLight;
}

void Material::setDiffuse(float d){
    diffuse = d;
}

Vector3<float> Material::getColor(){return color;}
Vector3<float> Material::getSpecColor(){return specColor;}
float Material::getReflection(){return reflection;}
float Material::getRefraction(){return refraction;}
float Material::getIor(){return ior;}

float Material::getDiffuse(){return diffuse;}
bool Material::isLight(){return light;}
